package com.edu.kindergarten.entity;

import java.util.ArrayList;

public class AccountEntity extends BaseEntity{

	protected String userName;
	protected String password;
	protected String nickName;
	
	protected String accessToken;
	protected String id;
	protected String schoolId;
	protected String schoolName;
	protected String userIcon;
	protected ArrayList<Child> childrens;
	
	public void setUserName(String userName){
		this.userName = userName;
	}
	
	public String getUserName(){
		return userName;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getPassword(){
		return password;
	}
	
	public void setNickName(String nickName){
		this.nickName = nickName;
	}
	
	public String getNickName(){
		return nickName;
	}
	
	public void setAccessToken(String accessToken){
		this.accessToken = accessToken;
	}
	
	public String getAccessToken(){
		return accessToken;
	}
	
	public void setId(String id){
		this.id = id;
	}
	
	public String getId(){
		return id;
	}
	
	public void setSchoolId(String schoolId){
		this.schoolId = schoolId;
	}
	
	public String getSchoolId(){
		return schoolId;
	}
	
	public void setSchoolName(String schoolName){
		this.schoolName = schoolName;
	}
	
	public String getSchoolName(){
		return schoolName;
	}
	
	public void setUserIcon(String userIcon){
		this.userIcon = userIcon;
	}
	
	public String getUserIcon(){
		return userIcon;
	}
	
	public void setChildrens(ArrayList<Child> childrens){
		this.childrens = childrens;
	}
	
	public ArrayList<Child> getChildrens(){
		return childrens;
	}
	
	public class Child {
		protected String id;
		protected String name;
		protected String gender;
		protected String birthday;
		
		public void setId(String id){
			this.id = id;
		}
		
		public String getId(){
			return id;
		}
		
		public void setName(String name){
			this.name = name;
		}
		
		public String getName(){
			return name;
		}
		
		public void setGender(String gender){
			this.gender = gender;
		}
		
		public String getGender(){
			return gender;
		}
		
		public void setBirthday(String birthday){
			this.birthday = birthday;
		}
		
		public String getBirthday(){
			return birthday;
		}
	}
	
	//public long expireIn;
	
}
